package com.njrsun.modules.om.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.njrsun.common.annotation.Excel;
import com.njrsun.common.core.domain.BaseEntity;

/**
 * 销售订单对象 om_order_master
 * 
 * @author njrsun
 * @date 2021-08-28
 */
public class OmOrderMaster extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单据序号 */
    private Long uniqueId;

    /** 单据编码 */
    @Excel(name = "单据编码")
    private String omCode;

    /** 单据日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "单据日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date invoiceDate;

    /** 单据状态 */
    @Excel(name = "单据状态")
    private String invoiceStatus;

    /** 单据类型 */
    @Excel(name = "单据类型")
    private String invoiceType;

    /** 业务状态 */
    @Excel(name = "业务状态")
    private String workStatus;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String workType;

    /** 销售部门 */
    @Excel(name = "销售部门")
    private String workDept;

    /** 销售人员 */
    @Excel(name = "销售人员")
    private String workStaff;

    private String saleType;

    /** 审核日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkDate;

    /** 操作员 */
    @Excel(name = "操作员")
    private String userOper;

    /** 审核员 */
    @Excel(name = "审核员")
    private String userCheck;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    private String contractNo;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customer;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String customerId;

    /** 客户单号 */
    @Excel(name = "客户单号")
    private String custCode;

    private String paymentTeam;

     private Boolean flag;

    /** 交付日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交付日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliverDate;

    /** 交期状态（0预计  1确认） */
    @Excel(name = "交期状态", readConverterExp = "0=预计,1=确认")
    private String deliverStatus;

    /** 税率 */
    @Excel(name = "税率")
    private String tax;

    /** 币种 */
    @Excel(name = "币种")
    private String currency;

    private String country;

    /** 收货人 */
    @Excel(name = "收货人")
    private String contact;

    /** 电话 */
    @Excel(name = "电话")
    private String mobile;

    /** 地址 */
    @Excel(name = "地址")
    private String addr;

    private String supplyType;

    private String formConfig;

    /** 删除标志 */
    private String delFlag;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 版本号 */
    @Excel(name = "版本号")
    private Long version;

    private Boolean type;
    private Date startDate;
    private Date endDate;
    /** 销售订单从信息 */
    private List<OmOrderSalve> omOrderSalveList;

    public String getSupplyType() {
        return supplyType;
    }

    public void setSupplyType(String supplyType) {
        this.supplyType = supplyType;
    }

    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }

    public String getFormConfig() {
        return formConfig;
    }

    public void setFormConfig(String formConfig) {
        this.formConfig = formConfig;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public void setUniqueId(Long uniqueId)
    {
        this.uniqueId = uniqueId;
    }

    public Long getUniqueId() 
    {
        return uniqueId;
    }
    public void setOmCode(String omCode) 
    {
        this.omCode = omCode;
    }

    public String getOmCode() 
    {
        return omCode;
    }
    public void setInvoiceDate(Date invoiceDate) 
    {
        this.invoiceDate = invoiceDate;
    }

    public Date getInvoiceDate() 
    {
        return invoiceDate;
    }
    public void setInvoiceStatus(String invoiceStatus) 
    {
        this.invoiceStatus = invoiceStatus;
    }

    public String getInvoiceStatus() 
    {
        return invoiceStatus;
    }
    public void setInvoiceType(String invoiceType) 
    {
        this.invoiceType = invoiceType;
    }

    public String getInvoiceType() 
    {
        return invoiceType;
    }
    public void setWorkStatus(String workStatus) 
    {
        this.workStatus = workStatus;
    }

    public String getWorkStatus() 
    {
        return workStatus;
    }
    public void setWorkType(String workType) 
    {
        this.workType = workType;
    }

    public String getWorkType() 
    {
        return workType;
    }
    public void setWorkDept(String workDept) 
    {
        this.workDept = workDept;
    }

    public String getWorkDept() 
    {
        return workDept;
    }
    public void setWorkStaff(String workStaff) 
    {
        this.workStaff = workStaff;
    }

    public String getWorkStaff() 
    {
        return workStaff;
    }
    public void setCheckDate(Date checkDate) 
    {
        this.checkDate = checkDate;
    }

    public Date getCheckDate() 
    {
        return checkDate;
    }
    public void setUserOper(String userOper) 
    {
        this.userOper = userOper;
    }

    public String getUserOper() 
    {
        return userOper;
    }
    public void setUserCheck(String userCheck) 
    {
        this.userCheck = userCheck;
    }

    public String getUserCheck() 
    {
        return userCheck;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setCustomer(String customer) 
    {
        this.customer = customer;
    }

    public String getCustomer() 
    {
        return customer;
    }
    public void setCustomerId(String customerId) 
    {
        this.customerId = customerId;
    }

    public String getCustomerId() 
    {
        return customerId;
    }
    public void setCustCode(String custCode) 
    {
        this.custCode = custCode;
    }

    public String getCustCode() 
    {
        return custCode;
    }
    public void setDeliverDate(Date deliverDate) 
    {
        this.deliverDate = deliverDate;
    }

    public Date getDeliverDate() 
    {
        return deliverDate;
    }
    public void setDeliverStatus(String deliverStatus) 
    {
        this.deliverStatus = deliverStatus;
    }

    public String getDeliverStatus() 
    {
        return deliverStatus;
    }
    public void setTax(String tax) 
    {
        this.tax = tax;
    }

    public String getTax() 
    {
        return tax;
    }
    public void setCurrency(String currency) 
    {
        this.currency = currency;
    }

    public String getCurrency() 
    {
        return currency;
    }
    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }

    public Boolean getType() {
        return type;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public void setType(Boolean type) {
        this.type = type;
    }

    public List<OmOrderSalve> getOmOrderSalveList()
    {
        return omOrderSalveList;
    }

    public void setOmOrderSalveList(List<OmOrderSalve> omOrderSalveList)
    {
        this.omOrderSalveList = omOrderSalveList;
    }

    public String getSaleType() {
        return saleType;
    }

    public void setSaleType(String saleType) {
        this.saleType = saleType;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getPaymentTeam() {
        return paymentTeam;
    }

    public void setPaymentTeam(String paymentTeam) {
        this.paymentTeam = paymentTeam;
    }

    @Override
    public String toString() {
        return "OmOrderMaster{" +
                "uniqueId=" + uniqueId +
                ", omCode='" + omCode + '\'' +
                ", invoiceDate=" + invoiceDate +
                ", invoiceStatus='" + invoiceStatus + '\'' +
                ", invoiceType='" + invoiceType + '\'' +
                ", workStatus='" + workStatus + '\'' +
                ", workType='" + workType + '\'' +
                ", workDept='" + workDept + '\'' +
                ", workStaff='" + workStaff + '\'' +
                ", saleType='" + saleType + '\'' +
                ", checkDate=" + checkDate +
                ", userOper='" + userOper + '\'' +
                ", userCheck='" + userCheck + '\'' +
                ", remarks='" + remarks + '\'' +
                ", contractNo='" + contractNo + '\'' +
                ", customer='" + customer + '\'' +
                ", customerId='" + customerId + '\'' +
                ", custCode='" + custCode + '\'' +
                ", paymentTeam='" + paymentTeam + '\'' +
                ", deliverDate=" + deliverDate +
                ", deliverStatus='" + deliverStatus + '\'' +
                ", tax='" + tax + '\'' +
                ", currency='" + currency + '\'' +
                ", country='" + country + '\'' +
                ", contact='" + contact + '\'' +
                ", mobile='" + mobile + '\'' +
                ", addr='" + addr + '\'' +
                ", delFlag='" + delFlag + '\'' +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", version=" + version +
                ", type=" + type +
                ", omOrderSalveList=" + omOrderSalveList +
                '}';
    }
}
